//
//  ImageScrollView.h
//  MeiXiu
//
//  Created by Yuan on 12-12-25.
//
//

#import <UIKit/UIKit.h>

@interface ImageScrollView : UIScrollView<UIScrollViewDelegate>
{
    
    UIImageView *imageView;

}
- (id)initWithFrame:(CGRect)frame url:(NSString *)url target:(id)target;
-(void)resizeImageView:(UIImage*)img withUrl:(NSString*)url;
-(CGSize)getFitSizeFromCGSize:(CGSize)fitSize withMaxWidth:(CGFloat)w withMaxHeight:(CGFloat)h;

@property(nonatomic,retain)UIImageView *imageView;

@end
